Crate ckb_script

source ·
Expand description

CKB component to run the type/lock scripts.

Modules§

Structs§

  • Common data that would be shared amongst multiple VM instances. One sample usage right now, is to capture suspended machines in a chain of spawned machines.
  • A script group is defined as scripts that share the same hash.
  • Script execution error with the error source information.
  • Syscalls can be generated individually by TransactionScriptsSyscallsGenerator.
  • This struct leverages CKB VM to verify transaction inputs.
  • Struct specifies which script has verified so far. Snapshot is lifetime free, but capture snapshot need heavy memory copy
  • Struct specifies which script has verified so far. State lifetime bound with vm machine.
  • The environment that transactions are in.

Enums§

Functions§

Type Aliases§